package net.daum.hibernate;

import org.hibernate.cfg.AnnotationConfiguration;

public class AnnotationHelloWorld {
	public static void main(String[] args) {
		AnnotationConfiguration annotationConfiguration = new AnnotationConfiguration();
		annotationConfiguration.configure("annotation_hibernate.cfg.xml");
		HelloWorld.run(annotationConfiguration.buildSessionFactory());
	}
}